package com.ecut.property_project.mapper.contract;

import com.ecut.property_project.model.contract.ContractHead;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ContractHeadMapper {
    int deleteByPrimaryKey(String contractId);

    int insert(ContractHead record);

    int insertSelective(ContractHead record);

    List<ContractHead> selectAll();

    List<ContractHead> selectByPage(Integer page, Integer pageSize);

    ContractHead selectByPrimaryKey(String contractId);

    int updateByPrimaryKeySelective(ContractHead record);

    int updateByPrimaryKey(ContractHead record);
}